package net.xiduth.game.player.content.events.objects;

import net.xiduth.game.WorldObject;
import net.xiduth.game.WorldTile;
import net.xiduth.game.player.Player;

/**
 * 
 * @author Jae <jae@xiduth.com>
 * 
 * @since <Oct 21, 2013>
 *
 */
public class BossCaveHandler {
		
	public static void handlePortals(final Player player,
			final WorldObject object) {
		if (player.getX() == 1635 && player.getY() == 5252) {
			player.move(new WorldTile (1634, 5252, 0));
		}
		if (player.getX() == 1635 && player.getY() == 5253) {
			player.move(new WorldTile (1634, 5253, 0));
		}
		if (player.getX() == 1635 && player.getY() == 5254) {
			player.move(new WorldTile (1634, 5254, 0));
		}
		if (player.getX() == 1634 && player.getY() == 5254) {
			player.move(new WorldTile (1635, 5254, 0));
		}
		if (player.getX() == 1634 && player.getY() == 5253) {
			player.move(new WorldTile (1635, 5253, 0));
		}
		if (player.getX() == 1634 && player.getY() == 5252) {
			player.move(new WorldTile (1635, 5252, 0));
		}
		if (player.getX() == 1606 && player.getY() == 5264) {
			player.move(new WorldTile (1606, 5265, 0));
		}
		if (player.getX() == 1606 && player.getY() == 5265) {
			player.move(new WorldTile (1606, 5264, 0));
		}
		if (player.getX() == 1605 && player.getY() == 5265) {
			player.move(new WorldTile (1605, 5264, 0));
		}
		if (player.getX() == 1605 && player.getY() == 5264) {
			player.move(new WorldTile (1605, 5265, 0));
		}
		if (player.getX() == 1606 && player.getY() == 5264) {
			player.move(new WorldTile (1604, 5265, 0));
		}
		if (player.getX() == 1604 && player.getY() == 5265) {
			player.move(new WorldTile (1606, 5264, 0));
		}
		if (player.getX() == 1605 && player.getY() == 5264) {
			player.move(new WorldTile (1605, 5265, 0));
		}
		if (player.getX() == 1604 && player.getY() == 5264) {
			player.move(new WorldTile (1604, 5265, 0));
		}
		if (player.getX() == 1611 && player.getY() == 5288) {
			player.move(new WorldTile (1611, 5289, 0));
		}
		if (player.getX() == 1610 && player.getY() == 5288) {
			player.move(new WorldTile (1610, 5289, 0));
		}
		if (player.getX() == 1609 && player.getY() == 5288) {
			player.move(new WorldTile (1609, 5289, 0));
		}
		if (player.getX() == 1611 && player.getY() == 5289) {
			player.move(new WorldTile (1611, 5288, 0));
		}
		if (player.getX() == 1610 && player.getY() == 5289) {
			player.move(new WorldTile (1610, 5288, 0));
		}
		if (player.getX() == 1609 && player.getY() == 5289) {
			player.move(new WorldTile (1609, 5288, 0));
		}
		
		if (player.getX() == 1625 && player.getY() == 5301) {
			player.move(new WorldTile (1626, 5301, 0));
		}
		if (player.getX() == 1625 && player.getY() == 5302) {
			player.move(new WorldTile (1626, 5302, 0));
		}
		if (player.getX() == 1625 && player.getY() == 5303) {
			player.move(new WorldTile (1626, 5303, 0));
		}
		
		if (player.getX() == 1626 && player.getY() == 5301) {
			player.move(new WorldTile (1625, 5301, 0));
		}
		if (player.getX() == 1626 && player.getY() == 5302) {
			player.move(new WorldTile (1625, 5302, 0));
		}
		if (player.getX() == 1626 && player.getY() == 5303) {
			player.move(new WorldTile (1625, 5303, 0));
		}
		
		if (player.getX() == 1649 && player.getY() == 5301) {
			player.move(new WorldTile (1650, 5301, 0));
		}
		if (player.getX() == 1649 && player.getY() == 5302) {
			player.move(new WorldTile (1650, 5302, 0));
		}
		if (player.getX() == 1649 && player.getY() == 5303) {
			player.move(new WorldTile (1650, 5303, 0));
		}
		
		if (player.getX() == 1650 && player.getY() == 5301) {
			player.move(new WorldTile (1649, 5301, 0));
		}
		if (player.getX() == 1650 && player.getY() == 5302) {
			player.move(new WorldTile (1649, 5302, 0));
		}
		if (player.getX() == 1650 && player.getY() == 5303) {
			player.move(new WorldTile (1649, 5303, 0));
		}
	
		if (player.getX() == 1650 && player.getY() == 5281) {
			player.move(new WorldTile (1650, 5280, 0));
		}
		if (player.getX() == 1651 && player.getY() == 5281) {
			player.move(new WorldTile (1651, 5280, 0));
		}
		if (player.getX() == 1652 && player.getY() == 5281) {
			player.move(new WorldTile (1652, 5280, 0));
		}
		
		if (player.getX() == 1650 && player.getY() == 5280) {
			player.move(new WorldTile (1650, 5281, 0));
		}
		if (player.getX() == 1651 && player.getY() == 5280) {
			player.move(new WorldTile (1651, 5281, 0));
		}
		if (player.getX() == 1652 && player.getY() == 5280) {
			player.move(new WorldTile (1652, 5281, 0));
	}
	}
}
